<?php

class g5_config extends Model{
	
	function __construct(){
			parent::__construct();
            $this->_tableName = 'language_config';
	}
	
	public function getAboutUs(){
		return $this->getOne('*', array('fkey'=>'about'));
	}
	
	public function getHelp(){
		return $this->getOne('*', array('fkey'=>'help'));
	}

	public function updateAboutUs($data){
		return $this->update($data, array('fkey'=>'about'));
	}
	
	public function updateHelp($data){
		return $this->update($data, array('fkey'=>'help'));
	}		
}
?>